﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.Master" CodeBehind="Custom_List.aspx.cs" Inherits="WebUI.Custom.Custom_List" %>

<asp:Content ID ="Content1" ContentPlaceHolderID ="ContentPlaceHolder1" runat="server">
    <br />
    客户编号：<asp:TextBox ID="txtPersonSn" runat="server" Width="70px" ForeColor="#404040"></asp:TextBox>客户姓名：<asp:TextBox
        ID="txtPersonName" runat="server" ForeColor="#404040"></asp:TextBox>客户电话：
    <asp:TextBox ID="txtTel" runat="server" Width="98px" ForeColor="#404040"></asp:TextBox>客户邮箱：
    <asp:TextBox ID="txtEmail" runat="server" Width="74px" ForeColor="#404040"></asp:TextBox>
    <asp:Button ID="btnSeach" runat="server" Text="查找" OnClick="btnSeach_Click" ForeColor="#404040" />
    <div style="width:750px; margin-top:15px;">
    <asp:GridView ID="grvCustomList" runat="server" AutoGenerateColumns="False" BackColor="White" BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" CellPadding="4" GridLines="Horizontal" Width="750px">
        <Columns>
            <asp:BoundField DataField="PersonSN" HeaderText="编号" />
            <asp:HyperLinkField DataNavigateUrlFields="PersonSn" DataNavigateUrlFormatString="~/Admin/Custom/Custom_Modify.aspx?PersonSn={0}"
                DataTextField="PersonName" HeaderText="客户姓名" NavigateUrl="~/Admin/Custom/Custom_Modify.aspx" />
            <asp:BoundField DataField="LoginName" HeaderText="登入名" />
            <asp:BoundField DataField="Department" HeaderText="所在公司" />
            <asp:BoundField DataField="tel" HeaderText="电话" />
            <asp:BoundField HeaderText="传真" DataField="Fax" />
            <asp:BoundField DataField="Email" HeaderText="电子邮箱" />
            <asp:BoundField DataField="address" HeaderText="地址" />
            <asp:BoundField HeaderText="积分" DataField="CustomGrade" />
            <asp:BoundField HeaderText="备注" DataField="Node" />
        </Columns>
        <FooterStyle BackColor="White" ForeColor="#333333" />
        <RowStyle BackColor="White" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
        <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
    </asp:GridView>
    <div style="text-align:right; margin-top:10px;">
    <asp:HyperLink ID="hylAddDriver" runat="server" NavigateUrl="~/Custom/Reg.aspx">增加客户</asp:HyperLink>
    </div></div>
</asp:Content>